home *** CD-ROM | disk | FTP | other *** search
- DIS(1) Last changed: 1-4-99
-
-
- NNAAMMEE
- ddiiss - Disassemble an object file
-
- SSYYNNOOPPSSIISS
- ddiiss [ _o_p_t_i_o_n_s ] _f_i_l_e
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- ddiiss disassembles object files into machine instructions. The
- following options are accepted:
-
- --bb _b_e_g_i_n_a_d_d_r_e_s_s
- Disassemble starting at the given address. The address can
- be in decimal, octal (with a leading 0), or hexadecimal (with
- a leading 0x).
-
- --dd ""_s_e_c_t_i_o_n""
- Disassemble the named section as data, printing the offset
- from the beginning of the section.
-
- --CC Demangle C++ names.
-
- --DD _s_e_c_t_i_o_n
- Disassemble the named section as data, printing the actual
- address of the data.
-
- --ee _e_n_d_a_d_d_r_e_s_s
- Disassembly stops at the given address. The address can be
- in decimal, octal (with a leading 0), or hexadecimal (with a
- leading 0x).
-
- --FF _f_u_n_c_t_i_o_n
- Disassemble the named function only in each object file
- specified on the command line. This option may be specified
- multiple times on the command line.
-
- --ff Prefixes the line number on disassembly lines with the source
- file basename.
-
- --hh Substitute the general register names for the software
- register names in the output.
-
- --HH Remove the leading source line, leaving hex value and the
- instructions.
-
- --ii Remove the leading source line and hexadecimal value of
- disassembly, leaving only the instructions.
-
- --II _d_i_r_e_c_t_o_r_y
- Use the _d_i_r_e_c_t_o_r_y to help find the source code.
-
- --ll _s_t_r_i_n_g
- Disassemble the archive file specified by _s_t_r_i_n_g. For
- example, ddiiss --ll xx would add uussrr//lliibb//lliibbxx..aa to the files to be
- disassembled.
-
- --LL Look up source labels for subsequent printing. This option
- works only if the file was compiled with debugging
- information.
-
- --oo Print addresses and contents in octal. The default is
- hexadecimal.
-
- --pp ""_f_u_n_c_t_i_o_n""
- The same meaning as --FF _f_u_n_c_t_i_o_n
-
- --ppiixxiiee For ppiixxiiee(1)d files, display original and pixified
- instructions intermixed with source. This is the default
- with pixified files, so this option obsolete and will
- eventually be removed.
-
- --ss Attempts to print jj, jjaall target names. Not very relevant
- since with PIC code jj, jjaall are little used. This is the
- default unless the --ssvvrr44 option is specified.
-
- --ssvvrr44 Print using svr4 output format. This means (if no other
- options given) no externals are named (when loading data off
- of the $gp register).
-
- --SS Display source code intermixed with the assembly code. There
- is no guarantee that the source code displayed is the source
- code used to compile the function, since ddiiss simply looks for
- a source file starting with name/path given in the object and
- continuing by looking in directories specified with --II (if
- any) and accepts the first appropriately-named file it finds
- as the source file. If --SS is repeated on the command line
- ddiiss will, in addition, name the source file involved (with
- whatever path was used to acess the file), as in the example
- "SSkkiippppiinngg ssoouurrccee lliissttiinngg ttoo lliinnee 1100 ooff //bb//tt..cc......".
-
- --TT Trace flag is for debugging of the disassembler itself.
-
- --tt _s_e_c_t_i_o_n
- Disassemble the named section as a text section.
-
- --vv Attempts to print the names of inlined functions where the
- function is inlined. The information about inlines is not
- always present in the debug information, so this option will
- not always produce the inlined function names.
-
- --VV Print the version of ddiiss being executed.
-
- --ww Attempts to print source information (names of user variables
- involved) after (to the right of) assembly codes. This
- option comes into effect only if --ss is also specified, but
- does not imply --ss. (But recall from above that --ss is on by
- default unless --ssvvrr44 is specified, so --ww is effective by
- itself unless --ssvvrr44 was specified.)
-
- --xx Prints offsets and constants in instructions as hex numbers.
- The default is to print instruction offsets and constants as
- decimal.
-
- If the --dd, --DD or --tt options are specified, only those named sections
- from each user-supplied filename will be disassembled. Otherwise, all
- sections containing text will be disassembled.
-
- FFIILLEESS
- //uussrr//bbiinn//ddiiss
-
- SSEEEE AALLSSOO
- This man page is available only online.
-
-